package cn.readjava.service;

import cn.readjava.bean.Permission;
import cn.readjava.bean.Role;

import java.util.List;
import java.util.Set;

public interface PermissionService {

    Permission getOne(Long id);

    List<Permission> findAll();

    Set<String> findAllPermission(long userId);
}